/*
 * @Author: dctxf
 * @Date:   2017-12-14 14:01:05
 * @Last Modified by:   dctxf
 * @Last Modified time: 2017-12-14 14:07:16
 */
module.exports = function (xt) {
  return xt.replace(/[A-Z]/g, ($1) => {
    return $1 = ['_', $1.toLocaleLowerCase()].join('')
  })
}